package com.fl.log_interception.service;

import com.fl.log_interception.interceptor.Role;
import org.springframework.stereotype.Service;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: fulin
 * @Date: 2021/12/18/15:54
 * @Description:
 */
@Service
public class UserService {

    @Role(baseRole = (byte) 1)
    public String roleOne(){
        return "权限: 1";
    }


    @Role(baseRole = (byte) 2)
    public String roleTwo(){
        return "权限: 2";
    }
}
